package br.cin.ufpe.corba;


public abstract class ObjectImpl {

	protected transient ObjectRef objectRef;
	
	public ObjectImpl(ObjectRef objectRef) {
		this.objectRef = objectRef;
	}
	
	protected Object invoke(String method, String[] argumentTypes, Object[] arguments, boolean hasReturn) {				
		return objectRef.invoke(method, argumentTypes, arguments, hasReturn);
	}
}
